@import "../../process-item/add-process/add-process.component.scss";

.node{
  position: relative;
  .text{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: $devui-brand;
    font-size: $devui-font-size-page-title;
  }
}
.mt-3{
  margin-top: 8px;
}
.mt-5{
  margin-top: 20px;
}
.input-group{
  flex-shrink: 0;
  min-width: 330px;
  box-sizing: border-box;
  overflow-y: auto;
  .title{
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    span{
      font-size: $devui-font-size-page-title
    }
  }
  .input-group-body{
    .input-g{
      display: flex;
      flex-direction: row;
      align-items: center;
      label{
        display: block;
        width: 60px!important;
        text-align: right;
        margin-right: 15px;
        font-size: $devui-font-size-card-title!important;
      }
      input{
        max-width: calc(100% - 100px);
        height: 28px!important;
      }
    }
  }
  .form-input-box{
    width: calc(100% - 80px);
  }
}
.setProcess{
  display: flex;
  flex-direction: row;
  height: 100%;
  .view{
    flex-grow: 1;
    margin-right: 15px;
    border-right: 1px solid #ccc;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .card1{
      padding-top: 30px;
      height: 0;
      flex-grow: 1;
      overflow: auto;
      .flow-start{
        text-align: center;
        width: 400px;
        margin: 0 auto;
        span{
          color: $devui-aide-text;
          font-size: $devui-font-size-card-title;
          font-weight: bold;
        }
      }
      .flow-end{
        text-align: center;
        width: 400px;
        margin: 0 auto;
        span{
          color: $devui-aide-text;
          font-size: $devui-font-size-card-title;
          font-weight: bold;
        }
      }
      .puls-item{
        position: relative;
        text-align: center;
        width: 400px;
        margin: 0 auto;
        .long-arrow{
          position: relative;
          width: 3px;
          height: 40px;
          background-color: $devui-aide-text;
          margin: 0 auto 10px;
          &:after{
            content: "";
            position: absolute;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 10px solid $devui-aide-text;
            border-bottom: 10px solid transparent;
            bottom: 0;
            left: 50%;
            transform: translate(-50%) translateY(100%);
          }
        }
        i{
          font-size: $devui-font-size-card-title;
          position: absolute;
          top: 40%;
          left: 50%;
          transform: translate(-50%);
          z-index: 1;
          color: $devui-aide-text;;
          background-color:$devui-base-bg;
          cursor: pointer;
        }
      }
      .flow-nodes{
        text-align: center;
        vertical-align: top;
        width: 400px;
        margin: 0 auto;

      }

    }
  }
}
